package com.lzkj.baotouhousingfund.ui.activity;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.lzkj.baotouhousingfund.R;
import com.lzkj.baotouhousingfund.base.ToolbarSimpleActivity;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * @author lx
 * @description 账户查询
 * @date 2018-3-14 08:55:29
 */

public class AccountEnquiryActivity extends ToolbarSimpleActivity {

    @BindView(R.id.toolbar_right_img)
    ImageView mToolbarRightImg;

    @Override
    protected int getLayout() {
        return R.layout.activity_account_enquiry;
    }

    @Override
    protected void initEventAndData() {

    }

    public static void start(Context context) {
        Intent intent = new Intent(context, AccountEnquiryActivity.class);
        context.startActivity(intent);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mToolbarTitle.setText("账户查询");
        mToolbarRightImg.setVisibility(View.VISIBLE);
        mToolbarRightImg.setImageResource(R.mipmap.ic_home);
    }

    @OnClick({R.id.toolbar_right_img})
    public void onViewClicked(View view){
        switch (view.getId()){
            case R.id.toolbar_right_img:
                finish();
                break;
        }
    }


}
